Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improved inspector positioning #21736

Merged
merged 22 commits into from
Apr 24, 2024

Conversation

daibhin
Copy link
Contributor

@daibhin daibhin commented Apr 22, 2024

Problem

Towards #21302

Changes

Before After
Screenshot 2024-04-22 at 15 57 08 Screenshot 2024-04-22 at 16 04 00

Can we call this mobile supported now?

working

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Visually

@daibhin daibhin mentioned this pull request Apr 22, 2024
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

4 snapshot changes in total. 0 added, 4 modified, 0 deleted:

  • chromium: 0 added, 4 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@daibhin daibhin changed the title feat improved inspector positioning feat: improved inspector positioning Apr 23, 2024
@daibhin daibhin requested a review from a team April 23, 2024 13:57
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

i think it's a little too eager to go to the vertical mode since I can see less recording there
and if I zoom out I can see more

2024-04-23 15 06 12

@daibhin
Copy link
Contributor Author

daibhin commented Apr 23, 2024

@pauldambra good point. I optimized for 100% zoom because basing the size calculation off the central column (the section with the player) will cause the inspector to flip flow between vertical & horizontal. I'll ship this and try to find a better breakpoint that suits all cases

Copy link
Contributor

github-actions bot commented Apr 23, 2024

Size Change: 0 B

Total Size: 1.03 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.03 MB

compressed-size-action

@daibhin daibhin merged commit 4d1e602 into master Apr 24, 2024
103 checks passed
@daibhin daibhin deleted the dn-feat/improved-inspector-positioning branch April 24, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants